package com.chenyue.cm.match.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MatchInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MatchInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCuIsNull() {
            addCriterion("cu is null");
            return (Criteria) this;
        }

        public Criteria andCuIsNotNull() {
            addCriterion("cu is not null");
            return (Criteria) this;
        }

        public Criteria andCuEqualTo(Integer value) {
            addCriterion("cu =", value, "cu");
            return (Criteria) this;
        }

        public Criteria andCuNotEqualTo(Integer value) {
            addCriterion("cu <>", value, "cu");
            return (Criteria) this;
        }

        public Criteria andCuGreaterThan(Integer value) {
            addCriterion("cu >", value, "cu");
            return (Criteria) this;
        }

        public Criteria andCuGreaterThanOrEqualTo(Integer value) {
            addCriterion("cu >=", value, "cu");
            return (Criteria) this;
        }

        public Criteria andCuLessThan(Integer value) {
            addCriterion("cu <", value, "cu");
            return (Criteria) this;
        }

        public Criteria andCuLessThanOrEqualTo(Integer value) {
            addCriterion("cu <=", value, "cu");
            return (Criteria) this;
        }

        public Criteria andCuIn(List<Integer> values) {
            addCriterion("cu in", values, "cu");
            return (Criteria) this;
        }

        public Criteria andCuNotIn(List<Integer> values) {
            addCriterion("cu not in", values, "cu");
            return (Criteria) this;
        }

        public Criteria andCuBetween(Integer value1, Integer value2) {
            addCriterion("cu between", value1, value2, "cu");
            return (Criteria) this;
        }

        public Criteria andCuNotBetween(Integer value1, Integer value2) {
            addCriterion("cu not between", value1, value2, "cu");
            return (Criteria) this;
        }

        public Criteria andParentNameIsNull() {
            addCriterion("parent_name is null");
            return (Criteria) this;
        }

        public Criteria andParentNameIsNotNull() {
            addCriterion("parent_name is not null");
            return (Criteria) this;
        }

        public Criteria andParentNameEqualTo(String value) {
            addCriterion("parent_name =", value, "parentName");
            return (Criteria) this;
        }

        public Criteria andParentNameNotEqualTo(String value) {
            addCriterion("parent_name <>", value, "parentName");
            return (Criteria) this;
        }

        public Criteria andParentNameGreaterThan(String value) {
            addCriterion("parent_name >", value, "parentName");
            return (Criteria) this;
        }

        public Criteria andParentNameGreaterThanOrEqualTo(String value) {
            addCriterion("parent_name >=", value, "parentName");
            return (Criteria) this;
        }

        public Criteria andParentNameLessThan(String value) {
            addCriterion("parent_name <", value, "parentName");
            return (Criteria) this;
        }

        public Criteria andParentNameLessThanOrEqualTo(String value) {
            addCriterion("parent_name <=", value, "parentName");
            return (Criteria) this;
        }

        public Criteria andParentNameLike(String value) {
            addCriterion("parent_name like", value, "parentName");
            return (Criteria) this;
        }

        public Criteria andParentNameNotLike(String value) {
            addCriterion("parent_name not like", value, "parentName");
            return (Criteria) this;
        }

        public Criteria andParentNameIn(List<String> values) {
            addCriterion("parent_name in", values, "parentName");
            return (Criteria) this;
        }

        public Criteria andParentNameNotIn(List<String> values) {
            addCriterion("parent_name not in", values, "parentName");
            return (Criteria) this;
        }

        public Criteria andParentNameBetween(String value1, String value2) {
            addCriterion("parent_name between", value1, value2, "parentName");
            return (Criteria) this;
        }

        public Criteria andParentNameNotBetween(String value1, String value2) {
            addCriterion("parent_name not between", value1, value2, "parentName");
            return (Criteria) this;
        }

        public Criteria andParentLogoIsNull() {
            addCriterion("parent_logo is null");
            return (Criteria) this;
        }

        public Criteria andParentLogoIsNotNull() {
            addCriterion("parent_logo is not null");
            return (Criteria) this;
        }

        public Criteria andParentLogoEqualTo(String value) {
            addCriterion("parent_logo =", value, "parentLogo");
            return (Criteria) this;
        }

        public Criteria andParentLogoNotEqualTo(String value) {
            addCriterion("parent_logo <>", value, "parentLogo");
            return (Criteria) this;
        }

        public Criteria andParentLogoGreaterThan(String value) {
            addCriterion("parent_logo >", value, "parentLogo");
            return (Criteria) this;
        }

        public Criteria andParentLogoGreaterThanOrEqualTo(String value) {
            addCriterion("parent_logo >=", value, "parentLogo");
            return (Criteria) this;
        }

        public Criteria andParentLogoLessThan(String value) {
            addCriterion("parent_logo <", value, "parentLogo");
            return (Criteria) this;
        }

        public Criteria andParentLogoLessThanOrEqualTo(String value) {
            addCriterion("parent_logo <=", value, "parentLogo");
            return (Criteria) this;
        }

        public Criteria andParentLogoLike(String value) {
            addCriterion("parent_logo like", value, "parentLogo");
            return (Criteria) this;
        }

        public Criteria andParentLogoNotLike(String value) {
            addCriterion("parent_logo not like", value, "parentLogo");
            return (Criteria) this;
        }

        public Criteria andParentLogoIn(List<String> values) {
            addCriterion("parent_logo in", values, "parentLogo");
            return (Criteria) this;
        }

        public Criteria andParentLogoNotIn(List<String> values) {
            addCriterion("parent_logo not in", values, "parentLogo");
            return (Criteria) this;
        }

        public Criteria andParentLogoBetween(String value1, String value2) {
            addCriterion("parent_logo between", value1, value2, "parentLogo");
            return (Criteria) this;
        }

        public Criteria andParentLogoNotBetween(String value1, String value2) {
            addCriterion("parent_logo not between", value1, value2, "parentLogo");
            return (Criteria) this;
        }

        public Criteria andMatchNameIsNull() {
            addCriterion("match_name is null");
            return (Criteria) this;
        }

        public Criteria andMatchNameIsNotNull() {
            addCriterion("match_name is not null");
            return (Criteria) this;
        }

        public Criteria andMatchNameEqualTo(String value) {
            addCriterion("match_name =", value, "matchName");
            return (Criteria) this;
        }

        public Criteria andMatchNameNotEqualTo(String value) {
            addCriterion("match_name <>", value, "matchName");
            return (Criteria) this;
        }

        public Criteria andMatchNameGreaterThan(String value) {
            addCriterion("match_name >", value, "matchName");
            return (Criteria) this;
        }

        public Criteria andMatchNameGreaterThanOrEqualTo(String value) {
            addCriterion("match_name >=", value, "matchName");
            return (Criteria) this;
        }

        public Criteria andMatchNameLessThan(String value) {
            addCriterion("match_name <", value, "matchName");
            return (Criteria) this;
        }

        public Criteria andMatchNameLessThanOrEqualTo(String value) {
            addCriterion("match_name <=", value, "matchName");
            return (Criteria) this;
        }

        public Criteria andMatchNameLike(String value) {
            addCriterion("match_name like", value, "matchName");
            return (Criteria) this;
        }

        public Criteria andMatchNameNotLike(String value) {
            addCriterion("match_name not like", value, "matchName");
            return (Criteria) this;
        }

        public Criteria andMatchNameIn(List<String> values) {
            addCriterion("match_name in", values, "matchName");
            return (Criteria) this;
        }

        public Criteria andMatchNameNotIn(List<String> values) {
            addCriterion("match_name not in", values, "matchName");
            return (Criteria) this;
        }

        public Criteria andMatchNameBetween(String value1, String value2) {
            addCriterion("match_name between", value1, value2, "matchName");
            return (Criteria) this;
        }

        public Criteria andMatchNameNotBetween(String value1, String value2) {
            addCriterion("match_name not between", value1, value2, "matchName");
            return (Criteria) this;
        }

        public Criteria andMatchAreaIsNull() {
            addCriterion("match_area is null");
            return (Criteria) this;
        }

        public Criteria andMatchAreaIsNotNull() {
            addCriterion("match_area is not null");
            return (Criteria) this;
        }

        public Criteria andMatchAreaEqualTo(String value) {
            addCriterion("match_area =", value, "matchArea");
            return (Criteria) this;
        }

        public Criteria andMatchAreaNotEqualTo(String value) {
            addCriterion("match_area <>", value, "matchArea");
            return (Criteria) this;
        }

        public Criteria andMatchAreaGreaterThan(String value) {
            addCriterion("match_area >", value, "matchArea");
            return (Criteria) this;
        }

        public Criteria andMatchAreaGreaterThanOrEqualTo(String value) {
            addCriterion("match_area >=", value, "matchArea");
            return (Criteria) this;
        }

        public Criteria andMatchAreaLessThan(String value) {
            addCriterion("match_area <", value, "matchArea");
            return (Criteria) this;
        }

        public Criteria andMatchAreaLessThanOrEqualTo(String value) {
            addCriterion("match_area <=", value, "matchArea");
            return (Criteria) this;
        }

        public Criteria andMatchAreaLike(String value) {
            addCriterion("match_area like", value, "matchArea");
            return (Criteria) this;
        }

        public Criteria andMatchAreaNotLike(String value) {
            addCriterion("match_area not like", value, "matchArea");
            return (Criteria) this;
        }

        public Criteria andMatchAreaIn(List<String> values) {
            addCriterion("match_area in", values, "matchArea");
            return (Criteria) this;
        }

        public Criteria andMatchAreaNotIn(List<String> values) {
            addCriterion("match_area not in", values, "matchArea");
            return (Criteria) this;
        }

        public Criteria andMatchAreaBetween(String value1, String value2) {
            addCriterion("match_area between", value1, value2, "matchArea");
            return (Criteria) this;
        }

        public Criteria andMatchAreaNotBetween(String value1, String value2) {
            addCriterion("match_area not between", value1, value2, "matchArea");
            return (Criteria) this;
        }

        public Criteria andPayTypeIsNull() {
            addCriterion("pay_type is null");
            return (Criteria) this;
        }

        public Criteria andPayTypeIsNotNull() {
            addCriterion("pay_type is not null");
            return (Criteria) this;
        }

        public Criteria andPayTypeEqualTo(Boolean value) {
            addCriterion("pay_type =", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotEqualTo(Boolean value) {
            addCriterion("pay_type <>", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThan(Boolean value) {
            addCriterion("pay_type >", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThanOrEqualTo(Boolean value) {
            addCriterion("pay_type >=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThan(Boolean value) {
            addCriterion("pay_type <", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThanOrEqualTo(Boolean value) {
            addCriterion("pay_type <=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeIn(List<Boolean> values) {
            addCriterion("pay_type in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotIn(List<Boolean> values) {
            addCriterion("pay_type not in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeBetween(Boolean value1, Boolean value2) {
            addCriterion("pay_type between", value1, value2, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotBetween(Boolean value1, Boolean value2) {
            addCriterion("pay_type not between", value1, value2, "payType");
            return (Criteria) this;
        }

        public Criteria andSignPriceIsNull() {
            addCriterion("sign_price is null");
            return (Criteria) this;
        }

        public Criteria andSignPriceIsNotNull() {
            addCriterion("sign_price is not null");
            return (Criteria) this;
        }

        public Criteria andSignPriceEqualTo(Double value) {
            addCriterion("sign_price =", value, "signPrice");
            return (Criteria) this;
        }

        public Criteria andSignPriceNotEqualTo(Double value) {
            addCriterion("sign_price <>", value, "signPrice");
            return (Criteria) this;
        }

        public Criteria andSignPriceGreaterThan(Double value) {
            addCriterion("sign_price >", value, "signPrice");
            return (Criteria) this;
        }

        public Criteria andSignPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("sign_price >=", value, "signPrice");
            return (Criteria) this;
        }

        public Criteria andSignPriceLessThan(Double value) {
            addCriterion("sign_price <", value, "signPrice");
            return (Criteria) this;
        }

        public Criteria andSignPriceLessThanOrEqualTo(Double value) {
            addCriterion("sign_price <=", value, "signPrice");
            return (Criteria) this;
        }

        public Criteria andSignPriceIn(List<Double> values) {
            addCriterion("sign_price in", values, "signPrice");
            return (Criteria) this;
        }

        public Criteria andSignPriceNotIn(List<Double> values) {
            addCriterion("sign_price not in", values, "signPrice");
            return (Criteria) this;
        }

        public Criteria andSignPriceBetween(Double value1, Double value2) {
            addCriterion("sign_price between", value1, value2, "signPrice");
            return (Criteria) this;
        }

        public Criteria andSignPriceNotBetween(Double value1, Double value2) {
            addCriterion("sign_price not between", value1, value2, "signPrice");
            return (Criteria) this;
        }

        public Criteria andSignTimeIsNull() {
            addCriterion("sign_time is null");
            return (Criteria) this;
        }

        public Criteria andSignTimeIsNotNull() {
            addCriterion("sign_time is not null");
            return (Criteria) this;
        }

        public Criteria andSignTimeEqualTo(String value) {
            addCriterion("sign_time =", value, "signTime");
            return (Criteria) this;
        }

        public Criteria andSignTimeNotEqualTo(String value) {
            addCriterion("sign_time <>", value, "signTime");
            return (Criteria) this;
        }

        public Criteria andSignTimeGreaterThan(String value) {
            addCriterion("sign_time >", value, "signTime");
            return (Criteria) this;
        }

        public Criteria andSignTimeGreaterThanOrEqualTo(String value) {
            addCriterion("sign_time >=", value, "signTime");
            return (Criteria) this;
        }

        public Criteria andSignTimeLessThan(String value) {
            addCriterion("sign_time <", value, "signTime");
            return (Criteria) this;
        }

        public Criteria andSignTimeLessThanOrEqualTo(String value) {
            addCriterion("sign_time <=", value, "signTime");
            return (Criteria) this;
        }

        public Criteria andSignTimeLike(String value) {
            addCriterion("sign_time like", value, "signTime");
            return (Criteria) this;
        }

        public Criteria andSignTimeNotLike(String value) {
            addCriterion("sign_time not like", value, "signTime");
            return (Criteria) this;
        }

        public Criteria andSignTimeIn(List<String> values) {
            addCriterion("sign_time in", values, "signTime");
            return (Criteria) this;
        }

        public Criteria andSignTimeNotIn(List<String> values) {
            addCriterion("sign_time not in", values, "signTime");
            return (Criteria) this;
        }

        public Criteria andSignTimeBetween(String value1, String value2) {
            addCriterion("sign_time between", value1, value2, "signTime");
            return (Criteria) this;
        }

        public Criteria andSignTimeNotBetween(String value1, String value2) {
            addCriterion("sign_time not between", value1, value2, "signTime");
            return (Criteria) this;
        }

        public Criteria andMatchEndTimeIsNull() {
            addCriterion("match_end_time is null");
            return (Criteria) this;
        }

        public Criteria andMatchEndTimeIsNotNull() {
            addCriterion("match_end_time is not null");
            return (Criteria) this;
        }

        public Criteria andMatchEndTimeEqualTo(Date value) {
            addCriterion("match_end_time =", value, "matchEndTime");
            return (Criteria) this;
        }

        public Criteria andMatchEndTimeNotEqualTo(Date value) {
            addCriterion("match_end_time <>", value, "matchEndTime");
            return (Criteria) this;
        }

        public Criteria andMatchEndTimeGreaterThan(Date value) {
            addCriterion("match_end_time >", value, "matchEndTime");
            return (Criteria) this;
        }

        public Criteria andMatchEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("match_end_time >=", value, "matchEndTime");
            return (Criteria) this;
        }

        public Criteria andMatchEndTimeLessThan(Date value) {
            addCriterion("match_end_time <", value, "matchEndTime");
            return (Criteria) this;
        }

        public Criteria andMatchEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("match_end_time <=", value, "matchEndTime");
            return (Criteria) this;
        }

        public Criteria andMatchEndTimeIn(List<Date> values) {
            addCriterion("match_end_time in", values, "matchEndTime");
            return (Criteria) this;
        }

        public Criteria andMatchEndTimeNotIn(List<Date> values) {
            addCriterion("match_end_time not in", values, "matchEndTime");
            return (Criteria) this;
        }

        public Criteria andMatchEndTimeBetween(Date value1, Date value2) {
            addCriterion("match_end_time between", value1, value2, "matchEndTime");
            return (Criteria) this;
        }

        public Criteria andMatchEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("match_end_time not between", value1, value2, "matchEndTime");
            return (Criteria) this;
        }

        public Criteria andMatchStartTimeIsNull() {
            addCriterion("match_start_time is null");
            return (Criteria) this;
        }

        public Criteria andMatchStartTimeIsNotNull() {
            addCriterion("match_start_time is not null");
            return (Criteria) this;
        }

        public Criteria andMatchStartTimeEqualTo(Date value) {
            addCriterion("match_start_time =", value, "matchStartTime");
            return (Criteria) this;
        }

        public Criteria andMatchStartTimeNotEqualTo(Date value) {
            addCriterion("match_start_time <>", value, "matchStartTime");
            return (Criteria) this;
        }

        public Criteria andMatchStartTimeGreaterThan(Date value) {
            addCriterion("match_start_time >", value, "matchStartTime");
            return (Criteria) this;
        }

        public Criteria andMatchStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("match_start_time >=", value, "matchStartTime");
            return (Criteria) this;
        }

        public Criteria andMatchStartTimeLessThan(Date value) {
            addCriterion("match_start_time <", value, "matchStartTime");
            return (Criteria) this;
        }

        public Criteria andMatchStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("match_start_time <=", value, "matchStartTime");
            return (Criteria) this;
        }

        public Criteria andMatchStartTimeIn(List<Date> values) {
            addCriterion("match_start_time in", values, "matchStartTime");
            return (Criteria) this;
        }

        public Criteria andMatchStartTimeNotIn(List<Date> values) {
            addCriterion("match_start_time not in", values, "matchStartTime");
            return (Criteria) this;
        }

        public Criteria andMatchStartTimeBetween(Date value1, Date value2) {
            addCriterion("match_start_time between", value1, value2, "matchStartTime");
            return (Criteria) this;
        }

        public Criteria andMatchStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("match_start_time not between", value1, value2, "matchStartTime");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("`type` is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("`type` is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Boolean value) {
            addCriterion("`type` =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Boolean value) {
            addCriterion("`type` <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Boolean value) {
            addCriterion("`type` >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Boolean value) {
            addCriterion("`type` >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Boolean value) {
            addCriterion("`type` <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Boolean value) {
            addCriterion("`type` <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Boolean> values) {
            addCriterion("`type` in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Boolean> values) {
            addCriterion("`type` not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Boolean value1, Boolean value2) {
            addCriterion("`type` between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Boolean value1, Boolean value2) {
            addCriterion("`type` not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andIconIsNull() {
            addCriterion("icon is null");
            return (Criteria) this;
        }

        public Criteria andIconIsNotNull() {
            addCriterion("icon is not null");
            return (Criteria) this;
        }

        public Criteria andIconEqualTo(String value) {
            addCriterion("icon =", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconNotEqualTo(String value) {
            addCriterion("icon <>", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconGreaterThan(String value) {
            addCriterion("icon >", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconGreaterThanOrEqualTo(String value) {
            addCriterion("icon >=", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconLessThan(String value) {
            addCriterion("icon <", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconLessThanOrEqualTo(String value) {
            addCriterion("icon <=", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconLike(String value) {
            addCriterion("icon like", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconNotLike(String value) {
            addCriterion("icon not like", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconIn(List<String> values) {
            addCriterion("icon in", values, "icon");
            return (Criteria) this;
        }

        public Criteria andIconNotIn(List<String> values) {
            addCriterion("icon not in", values, "icon");
            return (Criteria) this;
        }

        public Criteria andIconBetween(String value1, String value2) {
            addCriterion("icon between", value1, value2, "icon");
            return (Criteria) this;
        }

        public Criteria andIconNotBetween(String value1, String value2) {
            addCriterion("icon not between", value1, value2, "icon");
            return (Criteria) this;
        }

        public Criteria andLabelIsNull() {
            addCriterion("`label` is null");
            return (Criteria) this;
        }

        public Criteria andLabelIsNotNull() {
            addCriterion("`label` is not null");
            return (Criteria) this;
        }

        public Criteria andLabelEqualTo(String value) {
            addCriterion("`label` =", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelNotEqualTo(String value) {
            addCriterion("`label` <>", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelGreaterThan(String value) {
            addCriterion("`label` >", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelGreaterThanOrEqualTo(String value) {
            addCriterion("`label` >=", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelLessThan(String value) {
            addCriterion("`label` <", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelLessThanOrEqualTo(String value) {
            addCriterion("`label` <=", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelLike(String value) {
            addCriterion("`label` like", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelNotLike(String value) {
            addCriterion("`label` not like", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelIn(List<String> values) {
            addCriterion("`label` in", values, "label");
            return (Criteria) this;
        }

        public Criteria andLabelNotIn(List<String> values) {
            addCriterion("`label` not in", values, "label");
            return (Criteria) this;
        }

        public Criteria andLabelBetween(String value1, String value2) {
            addCriterion("`label` between", value1, value2, "label");
            return (Criteria) this;
        }

        public Criteria andLabelNotBetween(String value1, String value2) {
            addCriterion("`label` not between", value1, value2, "label");
            return (Criteria) this;
        }

        public Criteria andBannerListIsNull() {
            addCriterion("banner_list is null");
            return (Criteria) this;
        }

        public Criteria andBannerListIsNotNull() {
            addCriterion("banner_list is not null");
            return (Criteria) this;
        }

        public Criteria andBannerListEqualTo(String value) {
            addCriterion("banner_list =", value, "bannerList");
            return (Criteria) this;
        }

        public Criteria andBannerListNotEqualTo(String value) {
            addCriterion("banner_list <>", value, "bannerList");
            return (Criteria) this;
        }

        public Criteria andBannerListGreaterThan(String value) {
            addCriterion("banner_list >", value, "bannerList");
            return (Criteria) this;
        }

        public Criteria andBannerListGreaterThanOrEqualTo(String value) {
            addCriterion("banner_list >=", value, "bannerList");
            return (Criteria) this;
        }

        public Criteria andBannerListLessThan(String value) {
            addCriterion("banner_list <", value, "bannerList");
            return (Criteria) this;
        }

        public Criteria andBannerListLessThanOrEqualTo(String value) {
            addCriterion("banner_list <=", value, "bannerList");
            return (Criteria) this;
        }

        public Criteria andBannerListLike(String value) {
            addCriterion("banner_list like", value, "bannerList");
            return (Criteria) this;
        }

        public Criteria andBannerListNotLike(String value) {
            addCriterion("banner_list not like", value, "bannerList");
            return (Criteria) this;
        }

        public Criteria andBannerListIn(List<String> values) {
            addCriterion("banner_list in", values, "bannerList");
            return (Criteria) this;
        }

        public Criteria andBannerListNotIn(List<String> values) {
            addCriterion("banner_list not in", values, "bannerList");
            return (Criteria) this;
        }

        public Criteria andBannerListBetween(String value1, String value2) {
            addCriterion("banner_list between", value1, value2, "bannerList");
            return (Criteria) this;
        }

        public Criteria andBannerListNotBetween(String value1, String value2) {
            addCriterion("banner_list not between", value1, value2, "bannerList");
            return (Criteria) this;
        }

        public Criteria andMatchTypeIsNull() {
            addCriterion("match_type is null");
            return (Criteria) this;
        }

        public Criteria andMatchTypeIsNotNull() {
            addCriterion("match_type is not null");
            return (Criteria) this;
        }

        public Criteria andMatchTypeEqualTo(Boolean value) {
            addCriterion("match_type =", value, "matchType");
            return (Criteria) this;
        }

        public Criteria andMatchTypeNotEqualTo(Boolean value) {
            addCriterion("match_type <>", value, "matchType");
            return (Criteria) this;
        }

        public Criteria andMatchTypeGreaterThan(Boolean value) {
            addCriterion("match_type >", value, "matchType");
            return (Criteria) this;
        }

        public Criteria andMatchTypeGreaterThanOrEqualTo(Boolean value) {
            addCriterion("match_type >=", value, "matchType");
            return (Criteria) this;
        }

        public Criteria andMatchTypeLessThan(Boolean value) {
            addCriterion("match_type <", value, "matchType");
            return (Criteria) this;
        }

        public Criteria andMatchTypeLessThanOrEqualTo(Boolean value) {
            addCriterion("match_type <=", value, "matchType");
            return (Criteria) this;
        }

        public Criteria andMatchTypeIn(List<Boolean> values) {
            addCriterion("match_type in", values, "matchType");
            return (Criteria) this;
        }

        public Criteria andMatchTypeNotIn(List<Boolean> values) {
            addCriterion("match_type not in", values, "matchType");
            return (Criteria) this;
        }

        public Criteria andMatchTypeBetween(Boolean value1, Boolean value2) {
            addCriterion("match_type between", value1, value2, "matchType");
            return (Criteria) this;
        }

        public Criteria andMatchTypeNotBetween(Boolean value1, Boolean value2) {
            addCriterion("match_type not between", value1, value2, "matchType");
            return (Criteria) this;
        }

        public Criteria andMatchGroupIsNull() {
            addCriterion("match_group is null");
            return (Criteria) this;
        }

        public Criteria andMatchGroupIsNotNull() {
            addCriterion("match_group is not null");
            return (Criteria) this;
        }

        public Criteria andMatchGroupEqualTo(Boolean value) {
            addCriterion("match_group =", value, "matchGroup");
            return (Criteria) this;
        }

        public Criteria andMatchGroupNotEqualTo(Boolean value) {
            addCriterion("match_group <>", value, "matchGroup");
            return (Criteria) this;
        }

        public Criteria andMatchGroupGreaterThan(Boolean value) {
            addCriterion("match_group >", value, "matchGroup");
            return (Criteria) this;
        }

        public Criteria andMatchGroupGreaterThanOrEqualTo(Boolean value) {
            addCriterion("match_group >=", value, "matchGroup");
            return (Criteria) this;
        }

        public Criteria andMatchGroupLessThan(Boolean value) {
            addCriterion("match_group <", value, "matchGroup");
            return (Criteria) this;
        }

        public Criteria andMatchGroupLessThanOrEqualTo(Boolean value) {
            addCriterion("match_group <=", value, "matchGroup");
            return (Criteria) this;
        }

        public Criteria andMatchGroupIn(List<Boolean> values) {
            addCriterion("match_group in", values, "matchGroup");
            return (Criteria) this;
        }

        public Criteria andMatchGroupNotIn(List<Boolean> values) {
            addCriterion("match_group not in", values, "matchGroup");
            return (Criteria) this;
        }

        public Criteria andMatchGroupBetween(Boolean value1, Boolean value2) {
            addCriterion("match_group between", value1, value2, "matchGroup");
            return (Criteria) this;
        }

        public Criteria andMatchGroupNotBetween(Boolean value1, Boolean value2) {
            addCriterion("match_group not between", value1, value2, "matchGroup");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNull() {
            addCriterion("description is null");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNotNull() {
            addCriterion("description is not null");
            return (Criteria) this;
        }

        public Criteria andDescriptionEqualTo(String value) {
            addCriterion("description =", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotEqualTo(String value) {
            addCriterion("description <>", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThan(String value) {
            addCriterion("description >", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("description >=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThan(String value) {
            addCriterion("description <", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThanOrEqualTo(String value) {
            addCriterion("description <=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLike(String value) {
            addCriterion("description like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotLike(String value) {
            addCriterion("description not like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionIn(List<String> values) {
            addCriterion("description in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotIn(List<String> values) {
            addCriterion("description not in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionBetween(String value1, String value2) {
            addCriterion("description between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotBetween(String value1, String value2) {
            addCriterion("description not between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andSignCountIsNull() {
            addCriterion("sign_count is null");
            return (Criteria) this;
        }

        public Criteria andSignCountIsNotNull() {
            addCriterion("sign_count is not null");
            return (Criteria) this;
        }

        public Criteria andSignCountEqualTo(Byte value) {
            addCriterion("sign_count =", value, "signCount");
            return (Criteria) this;
        }

        public Criteria andSignCountNotEqualTo(Byte value) {
            addCriterion("sign_count <>", value, "signCount");
            return (Criteria) this;
        }

        public Criteria andSignCountGreaterThan(Byte value) {
            addCriterion("sign_count >", value, "signCount");
            return (Criteria) this;
        }

        public Criteria andSignCountGreaterThanOrEqualTo(Byte value) {
            addCriterion("sign_count >=", value, "signCount");
            return (Criteria) this;
        }

        public Criteria andSignCountLessThan(Byte value) {
            addCriterion("sign_count <", value, "signCount");
            return (Criteria) this;
        }

        public Criteria andSignCountLessThanOrEqualTo(Byte value) {
            addCriterion("sign_count <=", value, "signCount");
            return (Criteria) this;
        }

        public Criteria andSignCountIn(List<Byte> values) {
            addCriterion("sign_count in", values, "signCount");
            return (Criteria) this;
        }

        public Criteria andSignCountNotIn(List<Byte> values) {
            addCriterion("sign_count not in", values, "signCount");
            return (Criteria) this;
        }

        public Criteria andSignCountBetween(Byte value1, Byte value2) {
            addCriterion("sign_count between", value1, value2, "signCount");
            return (Criteria) this;
        }

        public Criteria andSignCountNotBetween(Byte value1, Byte value2) {
            addCriterion("sign_count not between", value1, value2, "signCount");
            return (Criteria) this;
        }

        public Criteria andSignRealCountIsNull() {
            addCriterion("sign_real_count is null");
            return (Criteria) this;
        }

        public Criteria andSignRealCountIsNotNull() {
            addCriterion("sign_real_count is not null");
            return (Criteria) this;
        }

        public Criteria andSignRealCountEqualTo(Long value) {
            addCriterion("sign_real_count =", value, "signRealCount");
            return (Criteria) this;
        }

        public Criteria andSignRealCountNotEqualTo(Long value) {
            addCriterion("sign_real_count <>", value, "signRealCount");
            return (Criteria) this;
        }

        public Criteria andSignRealCountGreaterThan(Long value) {
            addCriterion("sign_real_count >", value, "signRealCount");
            return (Criteria) this;
        }

        public Criteria andSignRealCountGreaterThanOrEqualTo(Long value) {
            addCriterion("sign_real_count >=", value, "signRealCount");
            return (Criteria) this;
        }

        public Criteria andSignRealCountLessThan(Long value) {
            addCriterion("sign_real_count <", value, "signRealCount");
            return (Criteria) this;
        }

        public Criteria andSignRealCountLessThanOrEqualTo(Long value) {
            addCriterion("sign_real_count <=", value, "signRealCount");
            return (Criteria) this;
        }

        public Criteria andSignRealCountIn(List<Long> values) {
            addCriterion("sign_real_count in", values, "signRealCount");
            return (Criteria) this;
        }

        public Criteria andSignRealCountNotIn(List<Long> values) {
            addCriterion("sign_real_count not in", values, "signRealCount");
            return (Criteria) this;
        }

        public Criteria andSignRealCountBetween(Long value1, Long value2) {
            addCriterion("sign_real_count between", value1, value2, "signRealCount");
            return (Criteria) this;
        }

        public Criteria andSignRealCountNotBetween(Long value1, Long value2) {
            addCriterion("sign_real_count not between", value1, value2, "signRealCount");
            return (Criteria) this;
        }

        public Criteria andChatTimeIsNull() {
            addCriterion("chat_time is null");
            return (Criteria) this;
        }

        public Criteria andChatTimeIsNotNull() {
            addCriterion("chat_time is not null");
            return (Criteria) this;
        }

        public Criteria andChatTimeEqualTo(Integer value) {
            addCriterion("chat_time =", value, "chatTime");
            return (Criteria) this;
        }

        public Criteria andChatTimeNotEqualTo(Integer value) {
            addCriterion("chat_time <>", value, "chatTime");
            return (Criteria) this;
        }

        public Criteria andChatTimeGreaterThan(Integer value) {
            addCriterion("chat_time >", value, "chatTime");
            return (Criteria) this;
        }

        public Criteria andChatTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("chat_time >=", value, "chatTime");
            return (Criteria) this;
        }

        public Criteria andChatTimeLessThan(Integer value) {
            addCriterion("chat_time <", value, "chatTime");
            return (Criteria) this;
        }

        public Criteria andChatTimeLessThanOrEqualTo(Integer value) {
            addCriterion("chat_time <=", value, "chatTime");
            return (Criteria) this;
        }

        public Criteria andChatTimeIn(List<Integer> values) {
            addCriterion("chat_time in", values, "chatTime");
            return (Criteria) this;
        }

        public Criteria andChatTimeNotIn(List<Integer> values) {
            addCriterion("chat_time not in", values, "chatTime");
            return (Criteria) this;
        }

        public Criteria andChatTimeBetween(Integer value1, Integer value2) {
            addCriterion("chat_time between", value1, value2, "chatTime");
            return (Criteria) this;
        }

        public Criteria andChatTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("chat_time not between", value1, value2, "chatTime");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("`state` is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("`state` is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(Boolean value) {
            addCriterion("`state` =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(Boolean value) {
            addCriterion("`state` <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(Boolean value) {
            addCriterion("`state` >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(Boolean value) {
            addCriterion("`state` >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(Boolean value) {
            addCriterion("`state` <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(Boolean value) {
            addCriterion("`state` <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<Boolean> values) {
            addCriterion("`state` in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<Boolean> values) {
            addCriterion("`state` not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(Boolean value1, Boolean value2) {
            addCriterion("`state` between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(Boolean value1, Boolean value2) {
            addCriterion("`state` not between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andIsPublicIsNull() {
            addCriterion("is_public is null");
            return (Criteria) this;
        }

        public Criteria andIsPublicIsNotNull() {
            addCriterion("is_public is not null");
            return (Criteria) this;
        }

        public Criteria andIsPublicEqualTo(Boolean value) {
            addCriterion("is_public =", value, "isPublic");
            return (Criteria) this;
        }

        public Criteria andIsPublicNotEqualTo(Boolean value) {
            addCriterion("is_public <>", value, "isPublic");
            return (Criteria) this;
        }

        public Criteria andIsPublicGreaterThan(Boolean value) {
            addCriterion("is_public >", value, "isPublic");
            return (Criteria) this;
        }

        public Criteria andIsPublicGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_public >=", value, "isPublic");
            return (Criteria) this;
        }

        public Criteria andIsPublicLessThan(Boolean value) {
            addCriterion("is_public <", value, "isPublic");
            return (Criteria) this;
        }

        public Criteria andIsPublicLessThanOrEqualTo(Boolean value) {
            addCriterion("is_public <=", value, "isPublic");
            return (Criteria) this;
        }

        public Criteria andIsPublicIn(List<Boolean> values) {
            addCriterion("is_public in", values, "isPublic");
            return (Criteria) this;
        }

        public Criteria andIsPublicNotIn(List<Boolean> values) {
            addCriterion("is_public not in", values, "isPublic");
            return (Criteria) this;
        }

        public Criteria andIsPublicBetween(Boolean value1, Boolean value2) {
            addCriterion("is_public between", value1, value2, "isPublic");
            return (Criteria) this;
        }

        public Criteria andIsPublicNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_public not between", value1, value2, "isPublic");
            return (Criteria) this;
        }

        public Criteria andFormatIdIsNull() {
            addCriterion("format_id is null");
            return (Criteria) this;
        }

        public Criteria andFormatIdIsNotNull() {
            addCriterion("format_id is not null");
            return (Criteria) this;
        }

        public Criteria andFormatIdEqualTo(Long value) {
            addCriterion("format_id =", value, "formatId");
            return (Criteria) this;
        }

        public Criteria andFormatIdNotEqualTo(Long value) {
            addCriterion("format_id <>", value, "formatId");
            return (Criteria) this;
        }

        public Criteria andFormatIdGreaterThan(Long value) {
            addCriterion("format_id >", value, "formatId");
            return (Criteria) this;
        }

        public Criteria andFormatIdGreaterThanOrEqualTo(Long value) {
            addCriterion("format_id >=", value, "formatId");
            return (Criteria) this;
        }

        public Criteria andFormatIdLessThan(Long value) {
            addCriterion("format_id <", value, "formatId");
            return (Criteria) this;
        }

        public Criteria andFormatIdLessThanOrEqualTo(Long value) {
            addCriterion("format_id <=", value, "formatId");
            return (Criteria) this;
        }

        public Criteria andFormatIdIn(List<Long> values) {
            addCriterion("format_id in", values, "formatId");
            return (Criteria) this;
        }

        public Criteria andFormatIdNotIn(List<Long> values) {
            addCriterion("format_id not in", values, "formatId");
            return (Criteria) this;
        }

        public Criteria andFormatIdBetween(Long value1, Long value2) {
            addCriterion("format_id between", value1, value2, "formatId");
            return (Criteria) this;
        }

        public Criteria andFormatIdNotBetween(Long value1, Long value2) {
            addCriterion("format_id not between", value1, value2, "formatId");
            return (Criteria) this;
        }

        public Criteria andFormatIsNull() {
            addCriterion("format is null");
            return (Criteria) this;
        }

        public Criteria andFormatIsNotNull() {
            addCriterion("format is not null");
            return (Criteria) this;
        }

        public Criteria andFormatEqualTo(Integer value) {
            addCriterion("format =", value, "format");
            return (Criteria) this;
        }

        public Criteria andFormatNotEqualTo(Integer value) {
            addCriterion("format <>", value, "format");
            return (Criteria) this;
        }

        public Criteria andFormatGreaterThan(Integer value) {
            addCriterion("format >", value, "format");
            return (Criteria) this;
        }

        public Criteria andFormatGreaterThanOrEqualTo(Integer value) {
            addCriterion("format >=", value, "format");
            return (Criteria) this;
        }

        public Criteria andFormatLessThan(Integer value) {
            addCriterion("format <", value, "format");
            return (Criteria) this;
        }

        public Criteria andFormatLessThanOrEqualTo(Integer value) {
            addCriterion("format <=", value, "format");
            return (Criteria) this;
        }

        public Criteria andFormatIn(List<Integer> values) {
            addCriterion("format in", values, "format");
            return (Criteria) this;
        }

        public Criteria andFormatNotIn(List<Integer> values) {
            addCriterion("format not in", values, "format");
            return (Criteria) this;
        }

        public Criteria andFormatBetween(Integer value1, Integer value2) {
            addCriterion("format between", value1, value2, "format");
            return (Criteria) this;
        }

        public Criteria andFormatNotBetween(Integer value1, Integer value2) {
            addCriterion("format not between", value1, value2, "format");
            return (Criteria) this;
        }

        public Criteria andPromotionTypeIsNull() {
            addCriterion("promotion_type is null");
            return (Criteria) this;
        }

        public Criteria andPromotionTypeIsNotNull() {
            addCriterion("promotion_type is not null");
            return (Criteria) this;
        }

        public Criteria andPromotionTypeEqualTo(Integer value) {
            addCriterion("promotion_type =", value, "promotionType");
            return (Criteria) this;
        }

        public Criteria andPromotionTypeNotEqualTo(Integer value) {
            addCriterion("promotion_type <>", value, "promotionType");
            return (Criteria) this;
        }

        public Criteria andPromotionTypeGreaterThan(Integer value) {
            addCriterion("promotion_type >", value, "promotionType");
            return (Criteria) this;
        }

        public Criteria andPromotionTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("promotion_type >=", value, "promotionType");
            return (Criteria) this;
        }

        public Criteria andPromotionTypeLessThan(Integer value) {
            addCriterion("promotion_type <", value, "promotionType");
            return (Criteria) this;
        }

        public Criteria andPromotionTypeLessThanOrEqualTo(Integer value) {
            addCriterion("promotion_type <=", value, "promotionType");
            return (Criteria) this;
        }

        public Criteria andPromotionTypeIn(List<Integer> values) {
            addCriterion("promotion_type in", values, "promotionType");
            return (Criteria) this;
        }

        public Criteria andPromotionTypeNotIn(List<Integer> values) {
            addCriterion("promotion_type not in", values, "promotionType");
            return (Criteria) this;
        }

        public Criteria andPromotionTypeBetween(Integer value1, Integer value2) {
            addCriterion("promotion_type between", value1, value2, "promotionType");
            return (Criteria) this;
        }

        public Criteria andPromotionTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("promotion_type not between", value1, value2, "promotionType");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}